package com.itheima.service;

import com.itheima.pojo.CmsSubjectProductRelation;

import java.util.List;

public interface CmsSubjectProductRelationApi {

    //商品添加
    void save(List<CmsSubjectProductRelation> subjectProductRelationList,Long productId);

    //根据商品id获取商品编辑信息
    List<CmsSubjectProductRelation> updateInfo(Integer productId);

    //更新商品
    void updateProduct(List<CmsSubjectProductRelation> subjectProductRelationList, Long productId);
}
